package com.zsy.springframework.beans.facotry.jiekou.one;

import com.zsy.springframework.beans.facotry.config.BeanDefinition;
import com.zsy.springframework.beans.facotry.exception.BeansException;

//beandefinition 注册的接口 ,具体的实现就是存这些信息的map
public interface BeanDefinitionRegistry {
    //功能：注册 ，查询  ，是否包含
    void registerBeanDefinition(String beanName, BeanDefinition beanDefinition) throws BeansException;

    BeanDefinition getBeanDefinition(String beanName) throws BeansException;

    Boolean containsBeanDefinition(String beanName) throws BeansException;

    //插叙并get所有的bean定义的名字数组
    String[] getBeanDefinitionNames() throws BeansException;
}
